package com.work.mp.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author sunxiaowei
 * @date 2020-11-28
 */
@ApiModel
public class Login implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(required = true, value = "微信code")
    @NotBlank(message = "微信code不能为空")
    private String code;

/*    @ApiModelProperty(required = true, value = "getPhoneNumber返回的encryptedData")
    @NotBlank(message = "encryptedData不能为空")
    private String phoneNumberEncryptedData;

    @ApiModelProperty(required = true, value = "getPhoneNumber返回的iv")
    @NotBlank(message = "iv不能为空")
    private String phoneNumberIv;*/

    @ApiModelProperty(required = false, value = "微信昵称")
    private String wxNickname;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getWxNickname() {
        return wxNickname;
    }

    public void setWxNickname(String wxNickname) {
        this.wxNickname = wxNickname;
    }
}
